import request from '@/utils/request'

class DigitizationApi {
  query(data) {
    return request({
      url: '/department/list',
      method: 'get',
      data
    })
  }

  queryByCond() {
    return request({
      url: `/department/queryByCond?pageSize=${1}&pageNum=${10}`,
      method: 'post',
      data:{}
    })
  }

}

export default new DigitizationApi()
